package kit.edu.lego.gruppe3;

import kit.edu.lego.gruppe3.levels.HitWall;
import kit.edu.lego.gruppe3.levels.MoveForward;
import lejos.nxt.SensorPort;
import lejos.robotics.subsumption.Arbitrator;
import lejos.robotics.subsumption.Behavior;

public class LegoMain {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Behavior b1 = new MoveForward();
	    Behavior b2 = new HitWall(SensorPort.S2);
	    Behavior [] bArray = {b1, b2};
	    Arbitrator arby = new Arbitrator(bArray);
	    arby.start();
	}

}
